package com.chenl.provider.feign;

import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "consumer",contextId = "consumer2")//配置全局ID为consumer2,然后可以在yml中单独配置此接口的超时时间
public interface ConFeign2 {
    @PostMapping(value= "/log/objtest" )
    void objtest();
}
